import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import axios from 'axios';

Vue.config.productionTip = false

// 初始化登录状态
if (!localStorage.getItem('isLoggedIn')) {
  localStorage.setItem('isLoggedIn', JSON.stringify(false));
}

Vue.use(Antd)
Vue.prototype.$http = axios

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')